package com.itboye.pondteam.bean;

import android.text.Spanned;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/3/29.
 */

public class TieZiModel {

    private int posts_all_count;
    private int count;
    private ArrayList<PostsAll> posts_all;
    private ArrayList<TieZiEntity> list;

    public int getPosts_all_count() {
        return posts_all_count;
    }

    public void setPosts_all_count(int posts_all_count) {
        this.posts_all_count = posts_all_count;
    }

    public ArrayList<PostsAll> getPosts_all() {
        return posts_all;
    }

    public void setPosts_all(ArrayList<PostsAll> posts_all) {
        this.posts_all = posts_all;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public ArrayList<TieZiEntity> getList() {
        return list;
    }

    public void setList(ArrayList<TieZiEntity> list) {
        this.list = list;
    }

    public static class TieZiEntity {


        /**
         * id : 2
         * pid : 5
         * rid : 0
         * to_uid : 121
         * uid : 121
         * create_time : 1522307651
         * content : 评论内容
         * uname : 45jjj 6
         * to_uname : 45jjj 6
         * img : []
         * create_time_desc : 刚刚
         * replys_info : []
         * replys_count : 0
         */

        private String id;
        private String pid;
        private String rid;
        private String to_uid;
        private String uid;
        private int create_time;
        private Spanned content;
        private String uname;
        private String to_uname;
        private String create_time_desc;
        private String replys_count;
        private ArrayList<String> img;

        private List<TieZiEntity> replys_info;
        /**
         * title : Jdjdj
         * update_time : 1522303147
         * top : 0
         * special : 0
         * reply_limit : 0
         * views : 73
         * repeat_id : 0
         * replys_direct_count : 3
         */

        private String title;
        private int update_time;
        private int top;
        private int special;
        private int reply_limit;
        private int views;
        private int repeat_id;
        private int replys_direct_count;

        public void setId(String id) {
            this.id = id;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public void setRid(String rid) {
            this.rid = rid;
        }

        public void setTo_uid(String to_uid) {
            this.to_uid = to_uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public void setContent(Spanned content) {
            this.content = content;
        }

        public void setUname(String uname) {
            this.uname = uname;
        }

        public void setTo_uname(String to_uname) {
            this.to_uname = to_uname;
        }

        public void setCreate_time_desc(String create_time_desc) {
            this.create_time_desc = create_time_desc;
        }

        public void setReplys_count(String replys_count) {
            this.replys_count = replys_count;
        }

        public void setImg(ArrayList<String> img) {
            this.img = img;
        }

        public void setReplys_info(List<TieZiEntity> replys_info) {
            this.replys_info = replys_info;
        }

        public String getId() {
            return id;
        }

        public String getPid() {
            return pid;
        }

        public String getRid() {
            return rid;
        }

        public String getTo_uid() {
            return to_uid;
        }

        public String getUid() {
            return uid;
        }

        public int getCreate_time() {
            return create_time;
        }

        public Spanned getContent() {
            return content;
        }

        public String getUname() {
            return uname;
        }

        public String getTo_uname() {
            return to_uname;
        }

        public String getCreate_time_desc() {
            return create_time_desc;
        }

        public String getReplys_count() {
            return replys_count;
        }

        public ArrayList<String> getImg() {
            return img;
        }

        public List<TieZiEntity> getReplys_info() {
            return replys_info;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }

        public void setTop(int top) {
            this.top = top;
        }

        public void setSpecial(int special) {
            this.special = special;
        }

        public void setReply_limit(int reply_limit) {
            this.reply_limit = reply_limit;
        }

        public void setViews(int views) {
            this.views = views;
        }

        public void setRepeat_id(int repeat_id) {
            this.repeat_id = repeat_id;
        }

        public void setReplys_direct_count(int replys_direct_count) {
            this.replys_direct_count = replys_direct_count;
        }

        public String getTitle() {
            return title;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public int getTop() {
            return top;
        }

        public int getSpecial() {
            return special;
        }

        public int getReply_limit() {
            return reply_limit;
        }

        public int getViews() {
            return views;
        }

        public int getRepeat_id() {
            return repeat_id;
        }

        public int getReplys_direct_count() {
            return replys_direct_count;
        }
    }

    public static class PostsAll {

        /**
         * id : 3
         * uid : 121
         * title : Ggg
         * create_time : 1522302164
         * update_time : 1522302164
         * content : Uhh
         * top : 0
         * special : 0
         * reply_limit : 0
         * views : 0
         * repeat_id : 0
         * uname : 45jjj 6
         * create_time_desc : 12分钟前
         */

        private int id;
        private int uid;
        private String title;
        private int create_time;
        private int update_time;
        private Spanned content;
        private int top;
        private int special;
        private int reply_limit;
        private int views;
        private int repeat_id;
        private String uname;
        private String create_time_desc;
        /**
         * replys_count : 0
         * replys_direct_count : 0
         * img : ["187"]
         * update_time_desc : 23分钟前
         */

        private String replys_count;
        private String replys_direct_count;
        private String update_time_desc;
        private List<String> img;


        public void setId(int id) {
            this.id = id;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }

        public void setContent(Spanned content) {
            this.content = content;
        }

        public void setTop(int top) {
            this.top = top;
        }

        public void setSpecial(int special) {
            this.special = special;
        }

        public void setReply_limit(int reply_limit) {
            this.reply_limit = reply_limit;
        }

        public void setViews(int views) {
            this.views = views;
        }

        public void setRepeat_id(int repeat_id) {
            this.repeat_id = repeat_id;
        }

        public void setUname(String uname) {
            this.uname = uname;
        }

        public void setCreate_time_desc(String create_time_desc) {
            this.create_time_desc = create_time_desc;
        }

        public int getId() {
            return id;
        }

        public int getUid() {
            return uid;
        }

        public String getTitle() {
            return title;
        }

        public int getCreate_time() {
            return create_time;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public Spanned getContent() {
            return content;
        }

        public int getTop() {
            return top;
        }

        public int getSpecial() {
            return special;
        }

        public int getReply_limit() {
            return reply_limit;
        }

        public int getViews() {
            return views;
        }

        public int getRepeat_id() {
            return repeat_id;
        }

        public String getUname() {
            return uname;
        }

        public String getCreate_time_desc() {
            return create_time_desc;
        }

        public void setReplys_count(String replys_count) {
            this.replys_count = replys_count;
        }

        public void setReplys_direct_count(String replys_direct_count) {
            this.replys_direct_count = replys_direct_count;
        }

        public void setUpdate_time_desc(String update_time_desc) {
            this.update_time_desc = update_time_desc;
        }

        public void setImg(List<String> img) {
            this.img = img;
        }

        public String getReplys_count() {
            return replys_count;
        }

        public String getReplys_direct_count() {
            return replys_direct_count;
        }

        public String getUpdate_time_desc() {
            return update_time_desc;
        }

        public List<String> getImg() {
            return img;
        }
    }


}
